﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for ChartisCarMoreDetail
/// </summary>
/// 
namespace CE.CarInsurance
{
    public class ChartisCarMoreDetail
    {
        private Int64 _cecarmoredetailid;
        private Int64 _cecarid;
        private Int64 _providercompanyid;
        private float _annualpremium;
        private float _termpremium;
        private string _name;
        private string _identificationno;
        private string _occupation;
        private string _contactno;
        private string _officephoneno;
        private string _licenseno;
        private string _beneficiaryname;

        private string _carplate;
        private string _carplateprovince;
        private string _presentaddress;
        private string _subdistrict;
        private string _district;
        private string _province;
        private string _postalcode;

        private bool _ismailingaddressdiff;
        private string _mailingaddress;
        private string _mailingsubdistrict;
        private string _mailingdistrict;
        private string _mailingprovince;
        private string _mailingpostalcode;

        private string _enginenumber;
        private string _chassisnumber;
        private bool _isregisteredowner;
        private bool _isctpl;
        private float _ctpl;

        private string _no;
        private string _soi;
        private string _subzone;
        //private string _province;
        private string _building;
        private string _street;
        //private string _district;
        //private string _postalcode;
        private bool _isdifferentaddress;
        private string _nomailing;
        private string _soimailing;
        private string _subzonemailing;
        private string _provincemailing;
        private string _buildingmailing;
        private string _streetmailing;
        private string _districtmailing;
        private string _postalcodemailing;

        private string _vehicleno;
        private string _vehiclecolor;
        private string _vehicleprovince;
        private DateTime _policystartdate;

        private string _paymentoption;
        private string _paymenttype;
        private string _paymentbank;

        private Int64 _orderrefnoid;
        private string _orderrefno;
        private bool _paymentstatus;

        private string _nameofthecard;
        private string _issuingbankname;
        private string _creditcardno;
        private string _cardexpirymonth;
        private string _cardexpiryyear;
        private string _cardtype;
        private string _quoterefno;

        //common field name
        private Int64 _refceuserid;
        private string _rowguid;
        private Int64 _vieweddetailid;
        private bool _status;
        private Int64 _carresultid;
        private DateTime _createddate;
        private DateTime _modifieddate;
        private Int64 _agentid;
        private Int64 _ninfo4;
        private Int32 _ninfo5;
        private string _info1;
        private string _info2;
        
        public ChartisCarMoreDetail()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        public Int64 CECarMoreDetailId
        {
            get { return _cecarmoredetailid; }
            set { _cecarmoredetailid = value; }
        }

        public Int64 CECarId
        {
            get { return _cecarid; }
            set { _cecarid = value; }
        }

        public Int64 ProviderCompanyId
        {
            get { return _providercompanyid; }
            set { _providercompanyid = value; }
        }

        public float AnnualPremium
        {
            get { return _annualpremium; }
            set { _annualpremium = value; }
        }

        public float TermPremium
        {
            get { return _termpremium; }
            set { _termpremium = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string IdentificationNo
        {
            get { return _identificationno; }
            set { _identificationno = value; }
        }

        public string Occupation
        {
            get { return _occupation; }
            set { _occupation = value; }
        }

        public string ContactNo
        {
            get { return _contactno; }
            set { _contactno = value; }
        }

        public string OfficePhoneNo
        {
            get { return _officephoneno; }
            set { _officephoneno = value; }
        }

        public string LicenseNo
        {
            get { return _licenseno; }
            set { _licenseno = value; }
        }

        public string BeneficiaryName
        {
            get { return _beneficiaryname; }
            set { _beneficiaryname = value; }
        }

        public string CarPlate
        {
            get { return _carplate; }
            set { _carplate = value; }
        }

        public string CarPlateProvince
        {
            get { return _carplateprovince; }
            set { _carplateprovince = value; }
        }

        public string PresentAddress
        {
            get { return _presentaddress; }
            set { _presentaddress = value; }
        }

        public string SubDistrict
        {
            get { return _subdistrict; }
            set { _subdistrict = value; }
        }

        public string District
        {
            get { return _district; }
            set { _district = value; }
        }

        public string Province
        {
            get { return _province; }
            set { _province = value; }
        }

        public string PostalCode
        {
            get { return _postalcode; }
            set { _postalcode = value; }
        }

        public string EngineNumber
        {
            get { return _enginenumber; }
            set { _enginenumber = value; }
        }

        public string ChassisNumber
        {
            get { return _chassisnumber; }
            set { _chassisnumber = value; }
        }

        public bool IsRegisteredOwner
        {
            get { return _isregisteredowner; }
            set { _isregisteredowner = value; }
        }

        public bool IsCTPL
        {
            get { return _isctpl; }
            set { _isctpl = value; }
        }

        public float CTPL
        {
            get { return _ctpl; }
            set { _ctpl = value; }
        }

        public string No
        {
            get { return _no; }
            set { _no = value; }
        }

        public string Soi
        {
            get { return _soi; }
            set { _soi = value; }
        }

        public string Subzone
        {
            get { return _subzone; }
            set { _subzone = value; }
        }

        public string Building
        {
            get { return _building; }
            set { _building = value; }
        }

        public string Street
        {
            get { return _street; }
            set { _street = value; }
        }


        public bool IsMailingAddressDiff
        {
            get { return _ismailingaddressdiff; }
            set { _ismailingaddressdiff = value; }
        }

        public string MailingAddress
        {
            get { return _mailingaddress; }
            set { _mailingaddress = value; }
        }


        public string MailingSubDistrict
        {
            get { return _mailingsubdistrict; }
            set { _mailingsubdistrict = value; }
        }

        public string MailingDistrict
        {
            get { return _mailingdistrict; }
            set { _mailingdistrict = value; }
        }

        public string MailingProvince
        {
            get { return _mailingprovince; }
            set { _mailingprovince = value; }
        }

        public string MailingPostalCode
        {
            get { return _mailingpostalcode; }
            set { _mailingpostalcode = value; }
        }

        public string VehicleNo
        {
            get { return _vehicleno; }
            set { _vehicleno = value; }
        }

        public string VehicleColor
        {
            get { return _vehiclecolor; }
            set { _vehiclecolor = value; }
        }

        public string VehicleProvince
        {
            get { return _vehicleprovince; }
            set { _vehicleprovince = value; }
        }

        public DateTime PolicyStartDate
        {
            get { return _policystartdate; }
            set { _policystartdate = value; }
        }

        public string PaymentOption
        {
            get { return _paymentoption; }
            set { _paymentoption = value; }
        }

        public string PaymentType
        {
            get { return _paymenttype; }
            set { _paymenttype = value; }
        }

        public string PaymentBank
        {
            get { return _paymentbank; }
            set { _paymentbank = value; }
        }

        public Int64 OrderRefNoId
        {
            get { return _orderrefnoid; }
            set { _orderrefnoid = value; }
        }

        public string OrderRefNo
        {
            get { return _orderrefno; }
            set { _orderrefno = value; }
        }

        public bool PaymentStatus
        {
            get { return _paymentstatus; }
            set { _paymentstatus = value; }
        }

        //public string NameoftheCard
        //{
        //    get { return _nameofthecard; }
        //    set { _nameofthecard = value; }
        //}

        //public string IssuingBankName
        //{
        //    get { return _issuingbankname; }
        //    set { _issuingbankname = value; }
        //}

        //public string CreditCardNo
        //{
        //    get { return _creditcardno; }
        //    set { _creditcardno = value; }
        //}

        //public string CardExpiryMonth
        //{
        //    get { return _cardexpirymonth; }
        //    set { _cardexpirymonth = value; }
        //}

        //public string CardExpiryYear
        //{
        //    get { return _cardexpiryyear; }
        //    set { _cardexpiryyear = value; }
        //}

        //public string CardType
        //{
        //    get { return _cardtype; }
        //    set { _cardtype = value; }
        //}

        public string QuoteRefNo
        {
            get { return _quoterefno; }
            set { _quoterefno = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public string RowGUID
        {
            get { return _rowguid; }
            set { _rowguid = value; }
        }

        public Int64 ViewedDetailId
        {
            get { return _vieweddetailid; }
            set { _vieweddetailid = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public Int64 CarResultId
        {
            get { return _carresultid; }
            set { _carresultid = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public Int64 AgentId
        {
            get { return _agentid; }
            set { _agentid = value; }
        }

        public Int64 Ninfo4
        {
            get { return _ninfo4; }
            set { _ninfo4 = value; }
        }

        public Int32 Ninfo5
        {
            get { return _ninfo5; }
            set { _ninfo5 = value; }
        }

        public string Info1
        {
            get { return _info1; }
            set { _info1 = value; }
        }

        public string Info2
        {
            get { return _info2; }
            set { _info2 = value; }
        }

        public void ClearFields()
        {
            _cecarmoredetailid = 0;
            _cecarid = 0;
            _providercompanyid = 0;
            _annualpremium = 0.0f;
            _termpremium = 0.0f;
            _name = "";
            _identificationno = "";
            _occupation = "";
            _contactno = "";
            _officephoneno = "";
            _licenseno = "";
            _beneficiaryname = "";

            _carplate = "";
            _carplateprovince = "";
            _presentaddress = "";
            _subdistrict = "";
            _district = "";
            _province = "";
            _postalcode = "";
            _enginenumber = "";
            _chassisnumber = "";
            _isregisteredowner = false;
            _isctpl = false;
            _ctpl = 0.0f;

            _no = "";
            _soi = "";
            _subzone = "";
            _building = "";
            _street = "";
            _isdifferentaddress = false;
            _nomailing = "";
            _soimailing = "";
            _subzonemailing = "";
            _provincemailing = "";
            _buildingmailing = "";
            _streetmailing = "";
            _districtmailing = "";
            _postalcodemailing = "";

            _vehicleno = "";
            _vehiclecolor = "";
            _vehicleprovince = "";
            _policystartdate = new DateTime();

            _paymentoption = "";
            _paymenttype = "";
            _paymentbank = "";
            _orderrefnoid = 0;
            _orderrefno = "";
            _paymentstatus = false;

            _nameofthecard = "";
            _issuingbankname = "";
            _creditcardno = "";
            _cardexpirymonth = "";
            _cardexpiryyear = "";
            _cardtype = "";
            _quoterefno = "";

            //common field name
            _refceuserid = 0;
            _rowguid = "";
            _vieweddetailid = 0;
            _status = false;
            _carresultid = 0;
            _createddate = new DateTime();
            _modifieddate = new DateTime();
            _agentid = 0;
            _ninfo4 = 0;
            _ninfo5 = 0;
            _info1 = "";
            _info2 = "";
        }

    }
}